const fs = require("fs");
const path = require("path");

let sFilePath = path.join(_dirname,"/1.txt");
let dFilePath = path.join(_dirname,"/2.txt");


let readStream = fs.createReadStream(sFilePath);
let writeStream = fs.createwriteStream(dFilePath);

readStream.pipe(writeStream);

